package org.zjx.data.screen;

import org.zjx.command.entity.screen.*;
import org.zjx.command.enums.TeleportType;
import org.zjx.data.BaseSceneBuilder;

import java.awt.*;

public class JiangNanYeWaiSceneBuilder extends BaseSceneBuilder {

    @Override
    protected String getSceneName() {
        return "江南野外";
    }

    @Override
    protected Dimension getSceneSize() {
        return new Dimension(159, 118);
    }

    @Override
    protected void addMonsters() {

    }

    @Override
    protected void addNpcs() {
        addNpc("江湖奸商", new Point(103, 95));
        addNpc("罗纤纤", new Point(22, 90));
        addNpc("卵二姐", new Point(32, 21));
        addNpc("樵夫", new Point(133, 22));
    }

    @Override
    protected void addRooms() {
        // 江南野外没有房间
    }

    @Override
    protected void addTeleports() {
        // 场景传送点
        addSceneTeleport(new Point(20, 108), "长安城", new Point(538, 3), new Point(21, 112));
        addSceneTeleport(new Point(148, 54), "建邺邺城", new Point(11, 4), new Point(154, 56));

        // NPC传送点
        addNpcTeleport("驿站老板", new Point(24, 110), "建邺邺城", new Point(12, 4), new Point(21, 112));
    }

    public static void main(String[] args) {
        new JiangNanYeWaiSceneBuilder().execute("jiangnanyewai_scene.json", "江南野外");
    }
}